@import './assets/styles/index.scss';

html,
body {
  background: $co2;
  height: 100vh;
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: row;
}

.panel {

  .menu {
    position: relative;
    background: $co3;
    display: block;
    height: 100vh;
    color: $co5;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, .1);
    transition: .3s ease;


    li {
      margin: 15px 10px;
      cursor: pointer;

      &.act {
        color: $co0
      }

      span {
        margin: 0 10px;
        display: none;

        @media screen and (min-width: 800px) {
          display: inline;
        }
      }
    }
  }
}

.view {
  flex: auto 1 1;
  vertical-align: top;
  .view-header {
    background: $co1;
    padding: 20px 15px;
    white-space: nowrap;
    .title {
      font-size: 22px;
      font-weight: 300;
      color: $co5;
      display: inline-block;
    }
  }
}

footer {
  background: $co7;
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 5px 10px;
  font-size: 12px;

  color: $co3;

  .path {
    b {
      margin-right: 10px;
    }
  }
}

@keyframes ring {
  from {
    transform: rotate(0deg);

    color: #1d2935;
  }
  50% {
    color: #42b983;
  }
  to {
    transform: rotate(360deg);
    color: #1d2935;
  }
}

.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 350ms ease, transform 350ms ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 350ms ease, transform 350ms ease;
}